<?php

namespace App\VO\UserOrder\MetaInfo;

class OrderInfo
{
    /**
     * @var OrderBaseInfo
     */
    public $order;

    /**
     * @var ProductInfo
     */
    public $product;

    /**
     * @var PaymentInfo
     */
    public $payment;

    /**
     * @var ServiceInfo
     */
    public $service;

    /**
     * 退款信息
     * @var RefundInfo
     */
    public $refund;

    /**
     * 取消订单
     * @var CancelInfo
     */
    public $cancel;

    /**
     * @param OrderBaseInfo $order
     */
    public function setOrder(OrderBaseInfo $order): void
    {
        $this->order = $order;
    }

    /**
     * @param ProductInfo $product
     */
    public function setProduct(ProductInfo $product): void
    {
        $this->product = $product;
    }

    /**
     * @param PaymentInfo $payment
     */
    public function setPayment(PaymentInfo $payment): void
    {
        $this->payment = $payment;
    }

    /**
     * @param RefundInfo $refund
     */
    public function setRefund(RefundInfo $refund): void
    {
        $this->refund = $refund;
    }

    /**
     * @param ServiceInfo $service
     */
    public function setService(ServiceInfo $service): void
    {
        $this->service = $service;
    }

    /**
     * @param CancelInfo $cancel
     */
    public function setCancel(CancelInfo $cancel): void
    {
        $this->cancel = $cancel;
    }

}
